<?php if(!defined('A')) exit;?>
<div class="wap">
<div class="top"><div style="float:left"><a href="http://read.qsbdc.com/mobile.php"><img src="http://read.qsbdc.com/mobile/static/images/ye.png" border="0" /></a></div>
<div class="head_bar2">
<form action="<?php echo url('search','search_')?>" target="_self" method="get" onSubmit="return _search('search_keyword');">

<div style="height:28px;">
<select class="type_select" id="type_select" name="_type" style="float:left; margin-top:17px;">
<option value="title">按标题</option>
<option value="attr">按分类</option>
<option value="word">按单词</option>
</select>

<input name="_kw" type="text" id="search_keyword" class="search_input" style=" width:100px;" value="<?php echo $keyword; ?>" />

<input type="submit" id="search_submit" value="" class="bton-search"/> 

<input type="hidden" name="mid" value="4" />  

</div>     

</form>
</div>
</div>
<script>
function _search(id){
	var o=document.getElementById(id);
	if(o.value.length==0){
		alert('请输入内容!');
		o.focus();
		return false;
	}
	if(o.value.length<2){
		alert('搜索内容至少为2个字符!');
		o.focus();
		return false;
	}
	return true;
}
</script>

<div class="head_bar_fix"></div>  